package xijia.plus.docs.manage.all.model.dto;

import io.github.wslxm.springbootplus2.core.base.model.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * 文档类别 DTO
 *
 * <p>
 * ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
 * </p>

 * @author ws
 * @email 1720696548@qq.com
 * @date 2023-04-23 11:03:15
 */
@Data
@ToString(callSuper = true)
@ApiModel(value = "DocCategoryDTO 对象", description = "文档类别")
public class DocCategoryDTO extends BaseDto {

    private static final long serialVersionUID = -1649972173274341376L;
    
    @ApiModelProperty(value = "类别 key" ,position = 0)
//    @NotNull(message = "类别 key 不能为空")
//    @Range(min=0, max=99L,message = "类别 key 必须>=0 和 <=99")
    private Integer code;

    @ApiModelProperty(value = "类别 名" ,position = 1)
//    @NotBlank(message = "类别 名 不能为空")
//    @Length(min=0, max=32,message = "类别 名 必须>=0 和 <=32位")
    private String name;

    @ApiModelProperty(value = "排序" ,position = 2)
   // @Range(min=0, max=99999999999L,message = "排序 必须>=0 和 <=99999999999")
    private Integer sort;

    @ApiModelProperty(value = "禁用(0-启用 1-禁用)" ,position = 3)
  //  @NotNull(message = "禁用 不能为空")
  //  @Range(min=0, max=99999999999L,message = "禁用 必须>=0 和 <=99999999999")
    private Integer disable;

}

